<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{mmItemGroupLevelBean.id}"/>
		<f:event type="preRenderView" listener="#{mmItemGroupLevelBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Mm Item Group Level"/>

	<ui:define name="header">
		Mm Item Group Level
	</ui:define>

	<ui:define name="subheader">
		View existing Mm Item Group Level
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelNo" value="Item Group Level No:"/>
			<h:outputText id="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelNo" value="#{mmItemGroupLevelBean.mmItemGroupLevel.itemGroupLevelNo}"/>
			<h:outputText/>
			<h:outputLabel for="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelCode" value="Item Group Level Code:"/>
			<h:outputText id="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelCode" value="#{mmItemGroupLevelBean.mmItemGroupLevel.itemGroupLevelCode}"/>
			<h:outputText/>
			<h:outputLabel for="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelDescr" value="Item Group Level Descr:"/>
			<h:outputText id="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelDescr" value="#{mmItemGroupLevelBean.mmItemGroupLevel.itemGroupLevelDescr}"/>
			<h:outputText/>
			<h:outputLabel for="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelOrderByNo" value="Item Group Level Order By No:"/>
			<h:outputText id="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelOrderByNo" value="#{mmItemGroupLevelBean.mmItemGroupLevel.itemGroupLevelOrderByNo}"/>
			<h:outputText/>
			<h:outputLabel for="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelEffectiveDate" value="Item Group Level Effective Date:"/>
			<h:outputText id="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelEffectiveDate" value="#{mmItemGroupLevelBean.mmItemGroupLevel.itemGroupLevelEffectiveDate}">
				<f:convertDateTime type="date"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelExpireDate" value="Item Group Level Expire Date:"/>
			<h:outputText id="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelExpireDate" value="#{mmItemGroupLevelBean.mmItemGroupLevel.itemGroupLevelExpireDate}">
				<f:convertDateTime type="date"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelIsActive" value="Item Group Level Is Active:"/>
			<h:outputText id="mmItemGroupLevelBeanMmItemGroupLevelItemGroupLevelIsActive" value="#{mmItemGroupLevelBean.mmItemGroupLevel.itemGroupLevelIsActive}"/>
			<h:outputText/>
			<h:outputLabel for="mmItemGroupLevelBeanMmItemGroupLevelMmItemGroups" value="Mm Item Groups:"/>
			<h:dataTable id="mmItemGroupLevelBeanMmItemGroupLevelMmItemGroups" styleClass="data-table" value="#{forgeview:asList(mmItemGroupLevelBean.mmItemGroupLevel.mmItemGroups)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Item Group No"/>
					</f:facet>
					<h:link outcome="/mmItemGroup/view">
						<f:param name="id" value="#{_item.itemGroupNo}"/>
						<h:outputText id="itemItemGroupNo" value="#{_item.itemGroupNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>